home *** CD-ROM | disk | FTP | other *** search
- Path: mrslate.cs.nyu.edu!burs7211
- From: burs7211@mrslate.cs.nyu.edu (Adam Burstein)
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: getch() equivalency help ...
- Followup-To: comp.lang.c++,comp.lang.c
- Date: 22 Jan 1996 03:48:42 GMT
- Organization: New York University
- Message-ID: <4dv1eq$dql@cmcl2.NYU.EDU>
- References: <4dpe6p$e4j@twin.wasatch.com>
- NNTP-Posting-Host: mrslate.cs.nyu.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Richard Demanowski (rdemanow@wasatch.com) wrote:
- > I need a way to do what getch() does, i.e. pause and wait for a SINGLE
- > KEYSTROKE and then pass the value of the pressed key back to the calling
- > function.
-
- Well, I think you could look in curses.h for the UNIX end. All in
- all, however, I don't know how you'd take care of all platforms at
- once.
-
- Good luck.
-
- Adam
-
- --
- -------------------------------------------------------------------------
- | . , | |
- | .:/ | "There ain't no time |
- | . ,,///;, ,;/ | to stash the gumbo, |
- | . o:::::::;;/// | Or rattle around |
- | >::::::::;;\\\ | in a cage..." |
- | ''\\\\\'" ';\ | -Phish |
- | ';\ | |
- -------------------------------------------------------------------------
- | Adam Burstein burs7211@cs.nyu.edu |
- | http://galt.cs.nyu.edu/students/burs7211 |
- -------------------------------------------------------------------------
-